import { defineStore} from 'pinia'

export const useUserStore:any = defineStore('user',{
  state:()=>{
    return {
        userInfo:{}  //用来存储用户的公共
    }
  },
  persist: {
    storage: sessionStorage
  }
})